package com.muyu.system.mapper;

import com.muyu.system.domain.DanmoUserShop;

import java.util.List;

/**
 * 商品关注Mapper接口
 *
 * @author yangle
 * @date 2024-09-28
 */
public interface DanmoUserShopMapper
{
    /**
     * 查询商品关注
     *
     * @param id 商品关注主键
     * @return 商品关注
     */
    public DanmoUserShop selectDanmoUserShopById(Long id);

    /**
     * 查询商品关注列表
     *
     * @param danmoUserShop 商品关注
     * @return 商品关注集合
     */
    public List<DanmoUserShop> selectDanmoUserShopList(DanmoUserShop danmoUserShop);

    /**
     * 新增商品关注
     *
     * @param danmoUserShop 商品关注
     * @return 结果
     */
    public int insertDanmoUserShop(DanmoUserShop danmoUserShop);

    /**
     * 修改商品关注
     *
     * @param danmoUserShop 商品关注
     * @return 结果
     */
    public int updateDanmoUserShop(DanmoUserShop danmoUserShop);

    /**
     * 删除商品关注
     *
     * @param id 商品关注主键
     * @return 结果
     */
    public int deleteDanmoUserShopById(Long id);

    /**
     * 批量删除商品关注
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDanmoUserShopByIds(Long[] ids);

}
